<?php
namespace App\User\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 用户产品背包Dto （导入导出）
 */
#[ExcelData]
class UserBagDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "用户id", index: 1)]
    public string $user_id;

    #[ExcelProperty(value: "产品id", index: 2)]
    public string $product_id;

    #[ExcelProperty(value: "产品名称", index: 3)]
    public string $product_name;

    #[ExcelProperty(value: "产品价格", index: 4)]
    public string $price;

    #[ExcelProperty(value: "产品图片", index: 5)]
    public string $product_img;

    #[ExcelProperty(value: "扩展字段", index: 6)]
    public string $extend_field;

    #[ExcelProperty(value: "背包产品来源", index: 7)]
    public string $source_type;

    #[ExcelProperty(value: "来源对应id", index: 8)]
    public string $source_id;

    #[ExcelProperty(value: "0 入库,1 已兑换,2 已提取,3提取中,4充能消耗,5熔炼消耗,6升级消耗", index: 9)]
    public string $status;

    #[ExcelProperty(value: "dtm事务", index: 10)]
    public string $gid;

    #[ExcelProperty(value: "创建者", index: 11)]
    public string $created_by;

    #[ExcelProperty(value: "创建时间", index: 12)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 13)]
    public string $update_time;


}